const global = getApp().globalData;
const Api = global.Api;
const wxApi = global.wxApi;
Page({
  data: {

  },
  onLoad() {

  },
  onOpenSetting() {
    wx.openSetting()
  },
  logout() {
    Api.normalLogout( res => {
      global.logout();
      wx.redirectTo({
        url: '/pages/user/bind/bind'
      })
    } )
  }
})